package com.dongdong.config;

import com.dongdong.fallback.SellerFallBack;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
//在feing-api项目中的FallbackConfig类中将SellerFallback注册为一个Bean
public class SellerFallBackConfig {

    @Bean
    public SellerFallBack sellerFallBack() {
        return new SellerFallBack();
    }
}
